<?php
/**
 * Created by PhpStorm.
 * User: LinMin
 * Date: 2018/2/6
 * Time: 9:47
 */

namespace App;
use Illuminate\Support\Facades\DB;
use Illuminate\Http\Request;
use Config;
use Menu;
class Template
{
    public static  function  get(){
        $title=Config::get('website_title_ch')[0]->cf_value;//获取网站的中文名字
        $logo=Config::get('logo_img')[0]->cf_value;//获取LOGO
        $menu=Menu::getMenu();//获取目录
        return array(
            'title'=>$title,
            'logo'=>$logo,
            'nav'=>$menu
        );
    }
}